package com.lanxiao.cloud.modules.dict.application.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotNull;

/**
 * @author ：qiaoliang
 * @date ：2021-09-26
 */
@ApiModel("字典类型新增请求模型")
public class DictTypeCmdAdd {
  @ApiModelProperty(value = "字典类型名称")
  @NotNull(message = "请填写字典类型名称.")
  private String name;
  @ApiModelProperty(value = "字典类型")
  @NotNull(message = "请填写字典类型.")
  private String type;
  @ApiModelProperty(value = "备注")
  private String remark;

  public DictTypeCmdAdd() {
  }


  public DictTypeCmdAdd(String name, String type, String remark) {
    this.name = name;
    this.type = type;
    this.remark = remark;
  }

  public String getName() {
    return name;
  }

  public String getType() {
    return type;
  }

  public String getRemark() {
    return remark;
  }
}
